package com.lxmes.base.domain;

import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 物料信息对象 jc_iteminfo
 * 
 * @author ruoyi
 * @date 2022-06-11
 */
public class JcIteminfoOv extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 部门id */
/*    @Excel(name = "部门id")*/
    private Long deptId;


    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 物料识别码 */
    @Excel(name = "物料识别码")
    private String itemIdentifyCode;

    /** 物料单位 */
    @Excel(name = "物料单位")
    private String unit;

    /** 包装方式 */
    @Excel(name = "包装方式")
    private String baozhuangType;

    /** 包装数量 */
    @Excel(name = "包装数量")
    private Long baozhuangQty;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 条码号 */
    @Excel(name = "条码号")
    private String tmh;

    @Excel(name = "物料分类编码")
    private String classId;

    /** 物料分类名称 */
    @Excel(name = "物料分类名称")
    private String className;

    /** 供应商id */
    @Excel(name = "供应商编号")
    private Long supplyId;

    /** 供应商名称 */
  /*  @Excel(name = "供应商名称")*/
    private String supplyName;

    /** 预警上线 */
    @Excel(name = "预警上线")
    private Long upLine;

    /** 预警下线 */
    @Excel(name = "预警下线")
    private Long downLine;

    /** 中间值 */
    @Excel(name = "中间值")
    private Long middleLine;

    /** 停用标记 */
   /* @Excel(name = "停用标记")*/
    private Long stopFlag;

    /** 存储期 */
    @Excel(name = "存储期")
    private String cunchudate;

    /** 保质期 */
    @Excel(name = "保质期")
    private String productiondate;

    @Excel(name = "参考价格")
    private BigDecimal price;


    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBaozhuangType(String baozhuangType) 
    {
        this.baozhuangType = baozhuangType;
    }

    public String getBaozhuangType() 
    {
        return baozhuangType;
    }
    public void setBaozhuangQty(Long baozhuangQty) 
    {
        this.baozhuangQty = baozhuangQty;
    }

    public Long getBaozhuangQty() 
    {
        return baozhuangQty;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setTmh(String tmh) 
    {
        this.tmh = tmh;
    }

    public String getTmh() 
    {
        return tmh;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void setSupplyId(Long supplyId)
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }
    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }
    public void setUpLine(Long upLine) 
    {
        this.upLine = upLine;
    }

    public Long getUpLine() 
    {
        return upLine;
    }
    public void setDownLine(Long downLine) 
    {
        this.downLine = downLine;
    }

    public Long getDownLine() 
    {
        return downLine;
    }
    public void setMiddleLine(Long middleLine) 
    {
        this.middleLine = middleLine;
    }

    public Long getMiddleLine() 
    {
        return middleLine;
    }
    public void setStopFlag(Long stopFlag) 
    {
        this.stopFlag = stopFlag;
    }

    public Long getStopFlag() 
    {
        return stopFlag;
    }
    public void setCunchudate(String cunchudate) 
    {
        this.cunchudate = cunchudate;
    }

    public String getCunchudate() 
    {
        return cunchudate;
    }
    public void setProductiondate(String productiondate) 
    {
        this.productiondate = productiondate;
    }

    public String getProductiondate() 
    {
        return productiondate;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("itemName", getItemName())
            .append("unit", getUnit())
            .append("baozhuangType", getBaozhuangType())
            .append("baozhuangQty", getBaozhuangQty())
            .append("spec", getSpec())
            .append("model", getModel())
            .append("tmh", getTmh())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("upLine", getUpLine())
            .append("downLine", getDownLine())
            .append("middleLine", getMiddleLine())
            .append("stopFlag", getStopFlag())
            .append("cunchudate", getCunchudate())
            .append("productiondate", getProductiondate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

    public String getItemIdentifyCode() {
        return itemIdentifyCode;
    }

    public void setItemIdentifyCode(String itemIdentifyCode) {
        this.itemIdentifyCode = itemIdentifyCode;
    }
}
